package com.api.mc
{
	import com.game.btnClass.AddMouseEvent;
	import com.game.btnClass.BtnClass_goto;
	import com.game.btnClass.BtnClass_scale;
	import com.game.display.AutoGCMovieClip;
	
	import flash.display.MovieClip;
	
	public class Again extends AutoGCMovieClip
	{
		public var changeBtn:MovieClip;
		public var againBtn:MovieClip;
		private var _btnClassScaleList:Vector.<AddMouseEvent>=new Vector.<AddMouseEvent>();
		public function Again(againFun:Function,changeFun:Function)
		{
			_btnClassScaleList.push(new BtnClass_goto(againBtn,againFun));
			_btnClassScaleList.push(new BtnClass_goto(changeBtn,changeFun));
		}
		public function gc():void{
			for(var i:int=0;i<_btnClassScaleList.length;i++){
				_btnClassScaleList[i].delMouseEvent();
			}
			_btnClassScaleList=null;
		}
	}
}